package cn.chrisn.factory.AbstractFactor;

/**
 * @Description
 * @Author Chrisn
 * @Date 2025/4/29
 */
public class BMWFactory implements AbstractCarFactor{

    @Override
    public BClassCar build_B_clasCar() {
        System.out.println("奔池工厂生产B级奔池车");
        return new BMW3();
    }

    @Override
    public CClassCar build_C_clasCar() {
        System.out.println("奔池工厂生产c级奔池车");
        return new BMW5();
    }
}
